Calculi and Eeciency Measures for Narrowing Techniques
نویسنده
چکیده
Narrowing serves as operational semantics of functional{logic programming languages. Over the past two decades a vast variety of narrowing techniques have been proposed, diiering from each other in the class of equational theories they are applicable to and in their eeciency to evaluate a given goal. On the latter part, i.e., the eeciency, merely vague statements can be found in the existing literature and hardly any formal investigation has been carried out comparing diierent narrowing techniques. In this paper we use the concept of calculi which allows us to formalize various narrowing techniques in a uniform way. Based on this concept we introduce four eeciency measures and apply two of them to two diierent pairs of narrowing techniques. The results make clear statements about the diierence in eeciency for the narrowing techniques involved.
منابع مشابه
A New Calculus for Semantic Matching ?
In this paper, we present Reverse Restructuring, a new calculus for solving the semantic matching problem. For narrowing, advanced selection rules are commonly seen as an appropriate method to reduce the search space. Our approach to design a special calculus for special goals is another way of reducing the eeciency defects of narrowing. Reverse Restructuring constructs derivations in the rever...
متن کاملEfficient Compilation of Lazy Narrowing into Prolog
The paper presents new techniques for the transformation of lazy narrowing in logic programs. A formalism, called demand patterns, is introduced , and used to deene a demand driven strategy to compute lazy narrowing. The strategy is used to produce standard PROLOG code from programs written in a functional-logic language. Our method has a number of advantages over other approaches. While it can...
متن کاملEeciency of -calculi with Explicit Substitutions
We introduce a criterion of eeciency to simulate-reduction in calculi of explicit substitutions and we apply it to several calculi: , * , , s, t and u. The latter is presented here for the rst time and may be considered as an eecient variant of s. The results of this paper imply that calculi a la s are usually more eecient at simulating-reduction than calculi in the-style. In fact, we prove tha...
متن کاملDesign and Validation of a Conceptual Model for Narrowing the Gap between Intended, Implemented, and Attained Curricula in the Public Education System in Iran
Abstract: The present research aimed at developing and validating a conceptual model for narrowing the gap between intended, implemented, and attained curricula in the public education system in Iran. Two fundamental questions guided this investigation: what model can be developed to reduce the gap between the three mentioned curricula? To what extent does the proposed model gain the approval? ...
متن کاملNarrowing and Basic Forward Closures
While the leftmost-innermost narrowing algorithm is incomplete, basic narrowing contains redundancies. We remove these redundancies by introducing a new narrowing procedure, called left-to-right basic narrowing algorithm. For each leftmost-innermost rewriting derivation from (s), there is an equivalent left-to-right basic rewriting derivation , which in turn can be projected on a left-to-right ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995